package com.zy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.pojo.Permission;
import com.zy.vo.TreeNode.TreeNode;


import java.util.List;

public interface PermissionService extends IService<Permission> {
    List<TreeNode> getTreeNodes(Integer roleId);//获取节点
    void dogrant(Integer roleId,Integer[] nid);
    List<String> getPerCodes(Integer roleId);
    List<Permission> getPerM();

}
